package samples.d2.shapes 
{
	import flash.filters.GlowFilter;
	import flash.geom.Rectangle;
	import samples.BaseSample;
	import shapes.shapes2D.distribution.goldenRatio.GoldenRatio;
	import shapes.shapes2D.Quad;
	
	/**
	 * @author Nicolas Barradeau
	 * http://en.nicoptere.net
	 */
	public class Rect0 extends BaseSample
	{
		public function Rect0() 
		{
			
			filters = [ new GlowFilter( color, .25, 12, 12, 2, 3 )];
			
			var r:Quad = new Quad( new Rectangle( 0, 0, 100 * GoldenRatio.RATIO, 100 ) );
			r.x = sw / 2;
			r.y = sh / 2;
			//r.fillAlpha = .5;
			addChild( r );
			r.draw();
			
			//graphics.beginFill( 0xFF0000 );
			//r.draw(graphics);
			
			
			
		}
		
	}

}